<script setup>
import { onHide,onLaunch,onShow } from '@dcloudio/uni-app'
import { storeToRefs } from 'pinia'
import { useMainStore } from '@/store/store'
const main = useMainStore()
import { isWeixin,parseQuery } from '@/utils/util'
import cookie from '@/utils/cookie'

onLaunch(() => {
	console.log('App Launch')
})

onShow(() => {
   
	// 检查用户登录情况
	// #ifdef H5
	if(isWeixin()){
	}
	// #endif
	// #ifdef MP-WEIXIN
	// #endif
})

onHide(() => {
   console.log('App Hide')
})





</script>

<style lang="scss">
@import '~@/static/style/app.scss';
@import 'static/style/yshop.css';

</style>
